package com.sqfw.project.wp.constant;

//申请审核
public interface ApplyState {

    //联络员
    String LIANLUOYUAN = "1";

    //承办单位领导
    String CBDWLINGDAO  = "2";

    //负责人
    String FUZEREN = "3";

    //分管领导
    String FGLINGDAO = "4";

    //审核通过并完结
    String ENDSTATUS = "5";

    static String wpState(String item,String status) {
        if (item == null) {
            return "未知";
        }
        //拒绝
        if ("0".equals(status)){
            switch (item) {
                case CBDWLINGDAO: return "承办单位领导已拒绝";
                case FUZEREN: return "热线平台负责人已拒绝";
                case FGLINGDAO: return "热线平台分管领导已拒绝";
                default: return "未知";
            }
        }else {
            switch (item) {
                case LIANLUOYUAN: return "承办单位联络员提交申请";
                case CBDWLINGDAO: return "承办单位领导待审核";
                case FUZEREN: return "热线平台负责人待审核";
                case FGLINGDAO: return "热线平台分管领导待审核";
                case ENDSTATUS: return "审核通过";
                default: return "未知";
            }
        }
    }


}
